<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'news-category-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'id'); ?>
		<?php echo $form->textField($model,'id'); ?>
		<?php echo $form->error($model,'id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClassName'); ?>
		<?php echo $form->textField($model,'ClassName',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'ClassName'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ParentID'); ?>
		<?php echo $form->textField($model,'ParentID'); ?>
		<?php echo $form->error($model,'ParentID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ParentPath'); ?>
		<?php echo $form->textField($model,'ParentPath',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'ParentPath'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Depth'); ?>
		<?php echo $form->textField($model,'Depth'); ?>
		<?php echo $form->error($model,'Depth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RootID'); ?>
		<?php echo $form->textField($model,'RootID'); ?>
		<?php echo $form->error($model,'RootID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Child'); ?>
		<?php echo $form->textField($model,'Child'); ?>
		<?php echo $form->error($model,'Child'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'PrevID'); ?>
		<?php echo $form->textField($model,'PrevID'); ?>
		<?php echo $form->error($model,'PrevID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NextID'); ?>
		<?php echo $form->textField($model,'NextID'); ?>
		<?php echo $form->error($model,'NextID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'OrderID'); ?>
		<?php echo $form->textField($model,'OrderID'); ?>
		<?php echo $form->error($model,'OrderID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClassInputer'); ?>
		<?php echo $form->textField($model,'ClassInputer',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'ClassInputer'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClassChecker'); ?>
		<?php echo $form->textField($model,'ClassChecker',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'ClassChecker'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClassMaster'); ?>
		<?php echo $form->textField($model,'ClassMaster',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'ClassMaster'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Readme'); ?>
		<?php echo $form->textField($model,'Readme',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'Readme'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Setting'); ?>
		<?php echo $form->textField($model,'Setting'); ?>
		<?php echo $form->error($model,'Setting'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'LinkUrl'); ?>
		<?php echo $form->textField($model,'LinkUrl',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'LinkUrl'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClassPicUrl'); ?>
		<?php echo $form->textField($model,'ClassPicUrl',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'ClassPicUrl'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'SkinID'); ?>
		<?php echo $form->textField($model,'SkinID'); ?>
		<?php echo $form->error($model,'SkinID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'LayoutID'); ?>
		<?php echo $form->textField($model,'LayoutID'); ?>
		<?php echo $form->error($model,'LayoutID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'BrowsePurview'); ?>
		<?php echo $form->textField($model,'BrowsePurview'); ?>
		<?php echo $form->error($model,'BrowsePurview'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'AddPurview'); ?>
		<?php echo $form->textField($model,'AddPurview'); ?>
		<?php echo $form->error($model,'AddPurview'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'IsElite'); ?>
		<?php echo $form->textField($model,'IsElite'); ?>
		<?php echo $form->error($model,'IsElite'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ShowOnTop'); ?>
		<?php echo $form->textField($model,'ShowOnTop'); ?>
		<?php echo $form->error($model,'ShowOnTop'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->